
const { ccclass, property } = cc._decorator;


/**
 * 背景音乐
 */
enum AudioSource {
    BACK_1 = 'music/back/bg_1.wav',
    BACK_2 = 'music/back/bg_2.wav',
    BACK_3 = 'music/back/bg_3.wav',
    BACK_4 = 'music/back/bg_4.wav',
}

/**
 * 特效声音
 */
enum EffectSource {
    CLICK = 'click',
    GUN_SHOT = 'gun_shot',
    GUN_LOAD = 'gun_load',
    FROZEN = 'frozen'
}


/**
 * 移动类型
 */
enum MoveType {
    Line = 1,
    Bezier = 2,
}

/**
 * 碰撞边界
 */
enum CollisionBorder {
    TOP = 'top_collider',
    BOTTOM = 'bottom_collider',
    LEFT = 'left_collider',
    RIGHT = 'right_collider'
}

/**
 * 鱼的状态: 死/活
 */
enum FishStatus {
    ALIVE = 'ALIVE',
    DEAD = 'DEAD'
}

@ccclass
export class Constants {

    public static AudioSource = AudioSource;

    public static EffectSource = EffectSource;

    public static MoveType = MoveType;

    public static CollisionBorder = CollisionBorder;

    public static FishStatus = FishStatus;

    // 炮台最大等级
    public static CANNON_MAX_LEVEL = 7;

}
